-- GENERATED SPELL FOR [Ancient Drakkari Warmonger] --


function spell0_26811(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(50370,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26811', 15250, 1)
end

function Sorts_26811(pUnit, Event)
local choix_sorts_26811 = math.random(0, 0)
if choix_sorts_26811 == 0 then
pUnit:RegisterEvent('spell0_26811', 1, 1)
end
end

function mob26811_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26811', math.random(1500, 3000), 1)
end

function mob26811_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26811_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26811_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26811, 1, 'mob26811_Action')
RegisterUnitEvent(26811, 2, 'mob26811_Leave')
RegisterUnitEvent(26811, 3, 'mob26811_Kill')
RegisterUnitEvent(26811, 4, 'mob26811_Die')
